package com.cnhis.cloudhealth.clinical.clidoctor.medicine.service;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.cnhis.cloudhealth.clinical.clidoctor.medicine.bo.MedicineBo;
import com.cnhis.cloudhealth.commons.Mappers.ModelVo;

@Service
public class MedicineImpl implements IMedicine {
  @Autowired
  private MedicineBo medicineBo;

@Override
public ModelVo queryMedicine(Map map, int currPage, int pageSize)
		throws Exception {
	return medicineBo.queryMedicine(map, currPage, pageSize);
}

@Override
public ModelVo patientAllergyMedicine(Map map) throws Exception {
	return medicineBo.patientAllergyMedicine(map);
}

@Override
public ModelVo medicineAllergy(Map map, int currPage, int pageSize)
		throws Exception {
	return medicineBo.medicineAllergy(map, currPage, pageSize);
}

@Override
public ModelVo medicineDefaultDosage(Map map) throws Exception {
	return medicineBo.medicineDefaultDosage(map);
}

@Override
public ModelVo executeTimeCase(Map map) throws Exception {
	return medicineBo.executeTimeCase(map);
}

@Override
public ModelVo queryItemDetail(Map map, int currPage, int pageSize)
		throws Exception {
	return medicineBo.queryItemDetail(map, currPage, pageSize);
}

@Override
public ModelVo getDefaultPharmacy(Map map) throws Exception {
	return medicineBo.getDefaultPharmacy(map);
}

@Override
public ModelVo getDrugCount(Map map) throws Exception {
	return medicineBo.getDrugCount(map);
}

@Override
public ModelVo disabledDrug(Map map) throws Exception {
	return medicineBo.disabledDrug(map);
}
  
}
